home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 March
/
CHIP Mart 1997.iso
/
SurfCam
/
SURFCAM.Z
/
HEI415C.M3
< prev
next >
Wrap
Text File
|
1996-04-01
|
4KB
|
163 lines
name Heidenhain TNC 415 Conversational
O >8
e >8
i 00
N >5 ""
t >2
u >2
L 00
l +->3.>4 L
C >2
X +->3.>4
Y +->3.>4
Z +->3.>4
G >2
d >2.1
H 00 Z
W 00
R ->3.>4
F >4
f >4 F
M >2
S >4 limit 20 2000
s ->3.>4
z ->3.>4 Mult -1
Q ->3.>4 Mult -1
w ->3.>4
ModalLetters Z # List of letters that are modal
ModalGs # List of g codes that are modal
Sequence#s N 1 1 1 # Char, freq, incr & start
First#? N # Y or N 'Output 1st sequence no.
HCode X # X or X U 'Horizontal char.
VCode Y # Y or Y V 'Vertical char.
Dcode Z # Depth char.
FeedCode F # Feed rate char.
Comment ( ) # Begin End comment char.
Spindle 3 4 5 # Cw, ccw & stop m codes
Coolant 8 9 8 # On, Off & Mist m codes
DComp 41 42 40 # Left, Right & Cancel m codes
LComp 43 49 # On & Off codes
CtrIncremental? Y # Y or N 'Inc or abs I & J
ByQuadrants? N # Y or N 'Break arcs at quadrants
CtrCode I J # I J or R or I J K L
Helical? N
MaxRad 999 .010
Feed L10 # Linear move
Rapid L10 f9998 # Rapid positioning word
# Circular move clockwise
# Circular move counter clockwise
Inc/Abs G 91 90 # Inc & Abs char. & values
UppercaseComments? Y # Y or N 'Require uppercase comments
Drill 7 # Drilling canned/manual cycle
d1
d1.1 s[-2]
d1.2 z[Depth]
d1.3 Q[Depth]
d1.4 w[Dwell]
d1.5 F[FRate]
L10 X[LastH] Y[LastV] Z[VClear] R0 F9998 M99
L10 X[H] Y[V] Z[VClear] R0 F9998 M99
end
Peck 7 # Pecking canned/manual cycle
d1
d1.1 s[-2]
d1.2 z[Depth]
d1.3 Q[VBite]
d1.4 w[Dwell]
d1.5 F[FRate]
L10 X[LastH] Y[LastV] Z[VClear] R0 F9998 M99
L10 X[H] Y[V] R0 F9998 M99
end
Tap 6 # Tapping canned/manual cycle
d2
d2.1 s[-2]
d2.2 z[Depth]
d2.3 w[Dwell]
d2.4 F[FRate]
L10 X[LastH] Y[LastV] Z[VClear] R0 F9998 M99
L10 X[H] Y[V] R0 F9998 M99
end
StartCode # Start of the program
O[Program#] i0
End
1stToolChange # First tool change
t[Tool] l0 R[ToolRad]
u[Tool] H[Lcomp] S[Speed]
L10 Z[ToolD] R0 F9998
L10 X[H] Y[V] R0 F9998 M3
L10 Z[D] R0 M[Cool]
End
Infeed # Enable cutter comp
L10 X[H] Y[V] G[Side] F[FRate]
end
Outfeed # Disable cutter comp
L10 R0 X[H] Y[V]
Z[D]
end
ToolChange # Secondary tool changes
L10 Z[ToolD] R0 F9998
t[Tool] l0 R[ToolRad]
M0
u[Tool] H[Lcomp] S[Speed]
L10 Z[ToolD] R0 F9998
L10 X[H] Y[V] R0 F9998 M3
L10 Z[D] R0 M[Cool]
End
EndCode # End of the program
L10 Z[ToolD] R0 F9998
M30
e[Program#] i0
End
CwCode # CW circular move
C1 X[HCtr] Y[VCtr]
C0 X[H] Y[V] G2 W0
end
CcwCode # CCW circular move
C1 X[HCtr] Y[VCtr]
C0 X[H] Y[V] G3 W0
end
Replace "O" with "0 BEGIN PGM "
#Replace "i" with "INCH"
Replace "i" with "MM"
Replace "e" with "END PGM "
Replace "G41 " with "RL "
Replace "G42 " with "RR "
Replace "t" with "TOOL DEF "
Replace "u" with "TOOL CALL "
Replace "W " with "R F M "
Replace "M0" with "STOP"
Replace "G2 " with "DR- "
Replace "G3 " with "DR+ "
Replace "C1 " with "CC "
Replace "C0 " with "C "
Replace "d" with "CYCL DEF "
Replace "s" with "A "
Replace "z" with "T "
Replace "Q" with "Z "
Replace "w" with "V "